<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="generator" content="PHPDoctor 2RC4 (http://peej.github.com/phpdoctor/)">
<meta name="when" content="Mon, 02 May 2011 02:46:55 +0000">

<link rel="stylesheet" type="text/css" href="../stylesheet.css">
<link rel="start" href="../overview-summary.html">

<title>browser (Cornice)</title>

</head>
<body id="definition" onload="parent.document.title=document.title;">

<div class="header">
<h1>Cornice</h1>
<ul>
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="../cornice/package-summary.html">Package</a></li>
<li class="active">Class</li>
<li><a href="../cornice/package-tree.html">Tree</a></li>
<li><a href="../overview-files.html">Files</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../todo-list.html">Todo</a></li>
<li><a href="../index-all.html">Index</a></li>
</ul>
</div>

<div class="small_links">
<a href="../index.html" target="_top">Frames</a>
<a href="../cornice\browser.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>

<div class="qualifiedName">cornice\browser</div>
<a href="../source/browser.php.html#line1" class="location">browser.php at line 1</a>

<h1>Class browser</h1>

<pre class="tree"><strong>browser</strong><br /></pre>

<hr>

<p class="signature">public  class <strong>browser</strong></p>

<div class="comment" id="overview_description"><p>Class to be used like a hidden browser</p></div>

<dl>
<dt>Author:</dt>
<dd>Nicola Dinh</dd>
<dt>Version:</dt>
<dd>2011.04.2901</dd>
</dl>
<hr>

<table id="summary_method">
<tr><th colspan="2">Method Summary</th></tr>
<tr>
<td class="type"> void</td>
<td class="description"><p class="name"><a href="#__construct()">__construct</a>()</p><p class="description">Default instance level constructor</p></td>
</tr>
<tr>
<td class="type">static  array</td>
<td class="description"><p class="name"><a href="#get_web_page()">get_web_page</a>(string url)</p><p class="description">Read a web page, returns HTML of page & error if there is,   * reference: http://uk.php.net/manual/en/function.curl-getinfo.php</p></td>
</tr>
</table>

<h2 id="detail_method">Method Detail</h2>
<a href="../source/browser.php.html#line1" class="location">browser.php at line 1</a>

<h3 id="__construct()">__construct</h3>
<code class="signature">public  void <strong>__construct</strong>()</code>
<div class="details">
<p>Default instance level constructor</p></div>

<hr>

<a href="../source/browser.php.html#line1" class="location">browser.php at line 1</a>

<h3 id="get_web_page()">get_web_page</h3>
<code class="signature">public static  array <strong>get_web_page</strong>(string url)</code>
<div class="details">
<p>Read a web page, returns HTML of page & error if there is,   * reference: http://uk.php.net/manual/en/function.curl-getinfo.php</p><dl>
<dt>Parameters:</dt>
<dd>url - The full URL to certain web page</dd>
<dt>Returns:</dt>
<dd>The array containing HTML or error</dd>
</dl>
</div>

<hr>

<div class="header">
<h1>Cornice</h1>
<ul>
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="../cornice/package-summary.html">Package</a></li>
<li class="active">Class</li>
<li><a href="../cornice/package-tree.html">Tree</a></li>
<li><a href="../overview-files.html">Files</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../todo-list.html">Todo</a></li>
<li><a href="../index-all.html">Index</a></li>
</ul>
</div>

<div class="small_links">
<a href="../index.html" target="_top">Frames</a>
<a href="../cornice\browser.html" target="_top">No frames</a>
</div>
<div class="small_links">
Summary: <a href="#summary_field">Field</a> | <a href="#summary_method">Method</a> | <a href="#summary_constr">Constr</a>
Detail: <a href="#detail_field">Field</a> | <a href="#detail_method">Method</a> | <a href="#summary_constr">Constr</a>
</div>
<hr>

<p id="footer">This document was generated by <a href="http://peej.github.com/phpdoctor/">PHPDoctor: The PHP Documentation Creator</a></p>

</body>

</html>